<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <title></title>
</head>

<body>
    <table border="1">
        <caption>上传列表</caption>
        <thead>
            <tr>
                <th>id</th>
                <th>名称</th>
                <th>路径</th>
                <th>上传时间</th>
                <th>操作</th>
            </tr>
        </thead>
        <tbody>
            {% for file in fileList %}
            <tr>
                <td>{{ file.id }}</td>
                <td>{{ file.name }}</td>
                <td>{{ file.path }}</td>
                <td>{{ file.update_time }}</td>
                <td> <a href="/download/?id={{file.id}}">下载</a>
                    <a href="/delete/?id={{file.id}}">删除</a> </td>
            </tr>
            {% endfor %}
        </tbody>
    </table>
    <a href="http://127.0.0.1:8000/uploader/">上传文件</a>
    <a href="/uploader/">上传文件</a>
    <a href="/uploader/">上传文件</a>
</body>

</html>